import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 物料厂批号
 * */
// 创建
export const spinMaterialCreate = (data) => postRequest('/spin/material/create', data);

// 更新
export const spinMaterialUpdate = (data) => putRequest('/spin/material/update', data);

// 删除
export const spinMaterialDelete = (params) => deleteRequest('/spin/material/delete', params);

// 获得
export const spinMaterialGet = (params) => getRequest('/spin/material/get', params);

// 获得分页
export const spinMaterialPage = (params) => getRequest('/spin/material/page', params);

// 原料种类
export const systemBusinessDictPage = (params) => getRequest('/system/business-dict/page', params);
